
import type { MaSearchItem } from "@mineadmin/search";
import { rdOrganizeZoneStatusDictData } from "./common.tsx";
import MaDictRadio from "@/components/ma-dict-picker/ma-dict-radio.vue";

export default function getSearchItems(t: any): MaSearchItem[] {
  return [
    {
      label: "大区名称",
      prop: "name",
      render: "input",
      renderProps: { placeholder: t("form.pleaseInput", { msg: "大区名称" }) },
    },
    {
      label: "状态",
      prop: "status",
      render: () => MaDictRadio,
      renderProps: { multiple: false, data: rdOrganizeZoneStatusDictData() },
    },
  ];
}
